package com.itheima.homework.异常;

import java.util.Scanner;

public class Demo2 {
    public static void main(String[] args) {
        String[] arr = {"星期一","星期二","星期三","星期四","星期五","星期六","星期日"};
        Scanner sc=new Scanner(System.in);
        try {
            int i = sc.nextInt();
            if(i<1||i>7){
                throw new Exception("输入错误");
            }
            System.out.println(arr[i-1]);

        }catch (Exception e){
            e.printStackTrace();
        }
    }
}
